package com.northpool.operator.common.minio;

import java.time.ZonedDateTime;
import java.util.List;

public class FileObject {
    String fileName;
    String objectName;
    Boolean isDir;
    String url;
    ZonedDateTime lastModified;
    List<FileObject> children;

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getObjectName() {
        return objectName;
    }

    public void setObjectName(String objectName) {
        this.objectName = objectName;
    }

    public Boolean getDir() {
        return isDir;
    }

    public void setDir(Boolean dir) {
        isDir = dir;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public ZonedDateTime getLastModified() {
        return lastModified;
    }

    public void setLastModified(ZonedDateTime lastModified) {
        this.lastModified = lastModified;
    }

    public List<FileObject> getChildren() {
        return children;
    }

    public void setChildren(List<FileObject> children) {
        this.children = children;
    }
}
